<?php
/**
 *Template Name: Value template
 */
get_header();
get_template_part( 'slider2' );

$pageId = $post->ID;
$page 	= get_page($pageId);
?>
	<div class="content">
		<div class="template clear-fix" id="casestudy">
			<div class="heading clear-fix">
				<h2><?php echo $page->post_title;?></h2>
			</div>
			<div class="tpl-full clear-fix">
				<?php 				
					if (has_post_thumbnail( $pageId )){
						$image = wp_get_attachment_image_src( get_post_thumbnail_id( $pageId ), 'single-post-thumbnail' );
						echo '<img class="imgTemp" src="'.$image[0].'" alt="" />';
					}
					$page = apply_filters('the_content',$page->post_content);				
					echo $page;
				?>
								
			</div>
	</div>
<?php get_footer(); ?>